#include "GameTurnResult.h"

namespace Dicewars
{
	GameTurnResult::GameTurnResult()
	{
	}
	
	GameTurnResult::~GameTurnResult()
	{
	}

	void GameTurnResult::AddToScene(Die* dieToAdd)
	{
		diceToAdd.push_back(dieToAdd);
	}
	
	void GameTurnResult::RemoveFromScene(Die* dieToRemove)
	{
		diceToRemove.push_back(dieToRemove);
	}
	
	void GameTurnResult::AddToAnimationQue(Animation* objectToAnimate)
	{
		objectsToAnimate.push_back(objectToAnimate);
	}
	
	const std::list<Animation*> GameTurnResult::GetAnimationQue() const
	{
		return objectsToAnimate;
	}

	const std::vector<Die*> GameTurnResult::GetDiceToRemove() const
	{
		return diceToRemove;
	}
	
	void GameTurnResult::ClearDiceToRemove()
	{
		diceToRemove.clear();
	}
}
